package edu.buaa.act.travel.m;

public class Log {
	
	private static final boolean LOG = true;
	
	public static void log(final String tag, final String msg) {
		if(!LOG) {
			return;
		}
		android.util.Log.d(tag, msg);
	}
	
	public static void log(final Exception e) {
		if(LOG) {
			e.printStackTrace();
		}
	}
}
